const data = {
  stage: 2,
  buildLog: `Started by user 林逸民
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/apm-admin
The recommended git tool is: NONE
using credential c4b04978-2a7d-4012-b69d-c9f68afb99e9
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url git@gitlab.szy.net:platform/apm-admin.git # timeout=10
Fetching upstream changes from git@gitlab.szy.net:platform/apm-admin.git
 > /usr/bin/git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
using GIT_SSH to set credentials
 > /usr/bin/git fetch --tags --progress git@gitlab.szy.net:platform/apm-admin.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > /usr/bin/git rev-parse origin/cicd_test^{commit} # timeout=10
Checking out Revision d9f5577e91308ca0ac7226ee7041ca721d329074 (origin/cicd_test)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f d9f5577e91308ca0ac7226ee7041ca721d329074 # timeout=10
Commit message: "Update README.md"
 > /usr/bin/git rev-list --no-walk d9f5577e91308ca0ac7226ee7041ca721d329074 # timeout=10
[apm-admin] $ /bin/sh -xe /tmp/jenkins480177716716975667.sh
+ set +x
>>>>>> BEGIN >>>>>>

============================== ACTION PARAMETER ======================================

PROJECT_NAME:                   apm-admin
BRANCH:                         test
IMAGE_VERSION:                  20210922105702
SERVICE_IMAGES_PUSH_URL:        harbor.szy.com/cicd-test/
IMAGE_URL:                      harbor.szy.com/cicd-test/apm-admin:20210922105702
REMOTE_CONFIG_URL:              http://debug-config-server.szy.net:8099
DATE:                           2021-09-22 10:57:18
APPLICATION_DIR:                apm-admin-server
APPLICATION_TARGET:             apm-admin-server-1.0
JAVA_OPT:                       -Xms512m -Xmx512m -XX:MetaspaceSize=128M -XX:MaxMetaspaceSize=256M
OTELENDPOINT:                   http://otel-collector:4317
OTELENABLED:                    true
JAVAAGENT:                      -javaagent:/app/agent/opentelemetry-javaagent-1.1.0-all.jar

============================== ACTION PARAMETER ======================================

>>>>>> BUILD JAR PACKAGE >>>>>>
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] apm                                                                [pom]
[INFO] apm-common                                                         [jar]
[INFO] apm-logging                                                        [jar]
[INFO] apm-tools                                                          [jar]
[INFO] apm-data-model                                                     [jar]
[INFO] eladmin-generator                                                  [jar]
[INFO] apm-admin-server                                                   [jar]
[INFO] apm-core                                                           [jar]
[INFO] apm-api-server                                                     [jar]
[INFO]
[INFO] ---------------------------< com.alien:apm >----------------------------
[INFO] Building apm 1.0                                                   [1/9]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm ---
[INFO]
[INFO] ------------------------< com.alien:apm-common >------------------------
[INFO] Building apm-common 1.0                                            [2/9]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from public: http://maven.aliyun.com/nexus/content/groups/public/com/ztjy/openservice-facade-schoolbase/2.4.1-SNAPSHOT/maven-metadata.xml
Downloading from 3rd party: http://repo.vi-zone.net/content/repositories/thirdparty/com/ztjy/openservice-facade-schoolbase/2.4.1-SNAPSHOT/maven-metadata.xml
Downloading from nexus: http://repo.vi-zone.net/content/groups/public/com/ztjy/openservice-facade-schoolbase/2.4.1-SNAPSHOT/maven-metadata.xml
Progress (1): 1.0 kB

Downloaded from nexus: http://repo.vi-zone.net/content/groups/public/com/ztjy/openservice-facade-schoolbase/2.4.1-SNAPSHOT/maven-metadata.xml (1.0 kB at 4.0 kB/s)
Downloading from 3rd party: http://repo.vi-zone.net/content/repositories/thirdparty/com/ztjy/ztjy-school-base/2.4.1-SNAPSHOT/maven-metadata.xml
Downloading from public: http://maven.aliyun.com/nexus/content/groups/public/com/ztjy/ztjy-school-base/2.4.1-SNAPSHOT/maven-metadata.xml
Downloading from nexus: http://repo.vi-zone.net/content/groups/public/com/ztjy/ztjy-school-base/2.4.1-SNAPSHOT/maven-metadata.xml
Progress (1): 601 B

Downloaded from nexus: http://repo.vi-zone.net/content/groups/public/com/ztjy/ztjy-school-base/2.4.1-SNAPSHOT/maven-metadata.xml (601 B at 55 kB/s)
Downloading from nexus: http://repo.vi-zone.net/content/groups/public/com/ztjy/ztjy-common-model/1.0-SNAPSHOT/maven-metadata.xml
Downloading from 3rd party: http://repo.vi-zone.net/content/repositories/thirdparty/com/ztjy/ztjy-common-model/1.0-SNAPSHOT/maven-metadata.xml
Downloading from public: http://maven.aliyun.com/nexus/content/groups/public/com/ztjy/ztjy-common-model/1.0-SNAPSHOT/maven-metadata.xml
Progress (1): 985 B

Downloaded from nexus: http://repo.vi-zone.net/content/groups/public/com/ztjy/ztjy-common-model/1.0-SNAPSHOT/maven-metadata.xml (985 B at 66 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-common ---
[INFO] Deleting /var/lib/jenkins/workspace/apm-admin/apm-common/target
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ apm-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-common/src/main/resources
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-common/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ apm-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 58 source files to /var/lib/jenkins/workspace/apm-admin/apm-common/target/classes
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-common/src/main/java/com/alien/admin/utils/Base64Utils.java:[3,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-common/src/main/java/com/alien/admin/utils/Base64Utils.java:[3,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-common/src/main/java/com/alien/admin/utils/Base64Utils.java:[3,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-common/src/main/java/com/alien/admin/utils/Base64Utils.java:[3,16] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-common/src/main/java/com/alien/admin/utils/Base64Utils.java:[35,9] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-common/src/main/java/com/alien/admin/utils/Base64Utils.java:[35,37] sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ apm-common ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ apm-common ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ apm-common ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ apm-common ---
[INFO] Building jar: /var/lib/jenkins/workspace/apm-admin/apm-common/target/apm-common-1.0.jar
[INFO]
[INFO] -----------------------< com.alien:apm-logging >------------------------
[INFO] Building apm-logging 1.0                                           [3/9]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-logging ---
[INFO] Deleting /var/lib/jenkins/workspace/apm-admin/apm-logging/target
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ apm-logging ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-logging/src/main/resources
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-logging/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ apm-logging ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to /var/lib/jenkins/workspace/apm-admin/apm-logging/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ apm-logging ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ apm-logging ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ apm-logging ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ apm-logging ---
[INFO] Building jar: /var/lib/jenkins/workspace/apm-admin/apm-logging/target/apm-logging-1.0.jar
[INFO]
[INFO] ------------------------< com.alien:apm-tools >-------------------------
[INFO] Building apm-tools 1.0                                             [4/9]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from nexus: http://repo.vi-zone.net/content/groups/public/com/qiniu/qiniu-java-sdk/maven-metadata.xml
Downloading from 3rd party: http://repo.vi-zone.net/content/repositories/thirdparty/com/qiniu/qiniu-java-sdk/maven-metadata.xml
Downloading from public: http://maven.aliyun.com/nexus/content/groups/public/com/qiniu/qiniu-java-sdk/maven-metadata.xml
Downloading from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/qiniu/qiniu-java-sdk/maven-metadata.xml
Progress (1): 2.1 kB

Downloaded from nexus: http://repo.vi-zone.net/content/groups/public/com/qiniu/qiniu-java-sdk/maven-metadata.xml (2.1 kB at 125 kB/s)
Progress (1): 2.1 kB
Progress (2): 2.1 kB | 2.1 kB

Downloaded from public: http://maven.aliyun.com/nexus/content/groups/public/com/qiniu/qiniu-java-sdk/maven-metadata.xml (2.1 kB at 2.3 kB/s)
Downloaded from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/qiniu/qiniu-java-sdk/maven-metadata.xml (2.1 kB at 2.3 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-tools ---
[INFO] Deleting /var/lib/jenkins/workspace/apm-admin/apm-tools/target
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ apm-tools ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-tools/src/main/resources
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-tools/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ apm-tools ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to /var/lib/jenkins/workspace/apm-admin/apm-tools/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ apm-tools ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ apm-tools ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ apm-tools ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ apm-tools ---
[INFO] Building jar: /var/lib/jenkins/workspace/apm-admin/apm-tools/target/apm-tools-1.0.jar
[INFO]
[INFO] ----------------------< com.alien:apm-data-model >----------------------
[INFO] Building apm-data-model 1.0                                        [5/9]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-data-model ---
[INFO] Deleting /var/lib/jenkins/workspace/apm-admin/apm-data-model/target
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ apm-data-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-data-model/src/main/resources
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-data-model/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ apm-data-model ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 41 source files to /var/lib/jenkins/workspace/apm-admin/apm-data-model/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ apm-data-model ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ apm-data-model ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ apm-data-model ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ apm-data-model ---
[INFO] Building jar: /var/lib/jenkins/workspace/apm-admin/apm-data-model/target/apm-data-model-1.0.jar
[INFO]
[INFO] --------------------< com.alien:eladmin-generator >---------------------
[INFO] Building eladmin-generator 1.0                                     [6/9]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ eladmin-generator ---
[INFO] Deleting /var/lib/jenkins/workspace/apm-admin/eladmin-generator/target
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ eladmin-generator ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/eladmin-generator/src/main/resources
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/eladmin-generator/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ eladmin-generator ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to /var/lib/jenkins/workspace/apm-admin/eladmin-generator/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ eladmin-generator ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ eladmin-generator ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ eladmin-generator ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ eladmin-generator ---
[INFO] Building jar: /var/lib/jenkins/workspace/apm-admin/eladmin-generator/target/eladmin-generator-1.0.jar
[INFO]
[INFO] ---------------------< com.alien:apm-admin-server >---------------------
[INFO] Building apm-admin-server 1.0                                      [7/9]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact ant:ant:jar:1.7.0 has been relocated to org.apache.ant:ant:jar:1.7.0
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-admin-server ---
[INFO] Deleting /var/lib/jenkins/workspace/apm-admin/apm-admin-server/target
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ apm-admin-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 19 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ apm-admin-server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 299 source files to /var/lib/jenkins/workspace/apm-admin/apm-admin-server/target/classes
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/system/service/impl/RedisFileServiceImpl.java:[10,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/system/service/impl/RedisFileServiceImpl.java:[10,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/system/service/impl/RedisFileServiceImpl.java:[10,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/system/service/impl/RedisFileServiceImpl.java:[10,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/system/service/impl/RedisFileServiceImpl.java:[10,16] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/system/service/impl/RedisFileServiceImpl.java:[49,13] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/system/service/impl/RedisFileServiceImpl.java:[49,41] sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
[INFO] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/sun/service/impl/TrendServiceImpl.java: /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/sun/service/impl/TrendServiceImpl.java uses unchecked or unsafe operations.
[INFO] /var/lib/jenkins/workspace/apm-admin/apm-admin-server/src/main/java/com/alien/admin/modules/sun/service/impl/TrendServiceImpl.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ apm-admin-server ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ apm-admin-server ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ apm-admin-server ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ apm-admin-server ---
[INFO] Building jar: /var/lib/jenkins/workspace/apm-admin/apm-admin-server/target/apm-admin-server-1.0.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.1.0.RELEASE:repackage (repackage) @ apm-admin-server ---
[INFO] Replacing main artifact /var/lib/jenkins/workspace/apm-admin/apm-admin-server/target/apm-admin-server-1.0.jar
[INFO]
[INFO] -------------------------< com.alien:apm-core >-------------------------
[INFO] Building apm-core 1.0                                              [8/9]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-core ---
[INFO] Deleting /var/lib/jenkins/workspace/apm-admin/apm-core/target
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ apm-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-core/src/main/resources
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-core/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ apm-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ apm-core ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ apm-core ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ apm-core ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ apm-core ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /var/lib/jenkins/workspace/apm-admin/apm-core/target/apm-core-1.0.jar
[INFO]
[INFO] ----------------------< com.alien:apm-api-server >----------------------
[INFO] Building apm-api-server 1.0                                        [9/9]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-api-server ---
[INFO] Deleting /var/lib/jenkins/workspace/apm-admin/apm-api-server/target
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ apm-api-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-api-server/src/main/resources
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/apm-admin/apm-api-server/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ apm-api-server ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ apm-api-server ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ apm-api-server ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ apm-api-server ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ apm-api-server ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /var/lib/jenkins/workspace/apm-admin/apm-api-server/target/apm-api-server-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for apm 1.0:
[INFO]
[INFO] apm ................................................ SUCCESS [  0.162 s]
[INFO] apm-common ......................................... SUCCESS [  8.082 s]
[INFO] apm-logging ........................................ SUCCESS [  1.885 s]
[INFO] apm-tools .......................................... SUCCESS [  3.124 s]
[INFO] apm-data-model ..................................... SUCCESS [  1.771 s]
[INFO] eladmin-generator .................................. SUCCESS [  1.054 s]
[INFO] apm-admin-server ................................... SUCCESS [ 13.297 s]
[INFO] apm-core ........................................... SUCCESS [  0.038 s]
[INFO] apm-api-server ..................................... SUCCESS [  0.345 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  30.181 s
[INFO] Finished at: 2021-09-22T10:57:49+08:00
[INFO] ------------------------------------------------------------------------
>>>>>> BUILD JAR PACKAGE COMPLETED >>>>>>
>>>>>> GENERATE DOCKERFILE BEGING >>>>>>
>>>>>> GENERATE DOCKERFILE BEGING >>>>>>
>>>>>> BUILD JAR IMAGER >>>>>>
Sending build context to Docker daemon  140.7MB

Step 1/6 : FROM harbor.szy.com/basic/java:oracle-8-jre
 ---> 9db38fe20b4e
Step 2/6 : LABEL MAINTAINER "yunwei"
 ---> Using cache
 ---> 1ef8385ab33d
Step 3/6 : COPY apm-admin-server/target/apm-admin-server-1.0.jar /app/app.jar
 ---> 09d82f84ea29
Step 4/6 : ENV JAVA_OPTS="-Xms512m -Xmx512m -XX:MetaspaceSize=128M -XX:MaxMetaspaceSize=256M -verbose:gc -Dlog.path.prefix=/app -Dspring.cloud.config.enabled=true -Dspring.cloud.config.uri=http://debug-config-server.szy.net:8099 -Dspring.cloud.config.label=develop -Xloggc:/root/logs/gc.log  -XX:HeapDumpPath=/app -XX:CICompilerCount=4 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=38002 -Ddubbo.protocol.port=38001 -Dserver.port=38000 -Dlog.path.prefix=/app"
 ---> Running in 952abfb6cebb
Removing intermediate container 952abfb6cebb
 ---> 648e43fcb224
Step 5/6 : ENV OTEL_OPTS="-Dotel.exporter.otlp.endpoint=http://otel-collector:4317 -Dotel.bsp.max.queue.size=8192 -Dotel.bsp.max.export.batch.size=2048 -Dotel.exporter.otlp.timeout=3000 -Dotel.javaagent.enabled=true -Dotel.resource.attributes=service.name=apm-admin,service.ip=apm-admin -javaagent:/app/agent/opentelemetry-javaagent-1.1.0-all.jar"
 ---> Running in 7befb99939dc
Removing intermediate container 7befb99939dc
 ---> c88d7a147d32
Step 6/6 : ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS $OTEL_OPTS -jar /app/app.jar" ]
 ---> Running in 377a6e4d077e
Removing intermediate container 377a6e4d077e
 ---> 610201c65a92
Successfully built 610201c65a92
Successfully tagged harbor.szy.com/cicd-test/apm-admin:20210922105702
The push refers to repository [harbor.szy.com/cicd-test/apm-admin]
645f33912b8c: Preparing
cabb80d19d43: Preparing
538c8e5b25c9: Preparing
cf516324493c: Preparing
538c8e5b25c9: Layer already exists
cabb80d19d43: Layer already exists
cf516324493c: Layer already exists
645f33912b8c: Pushed
20210922105702: digest: sha256:d530b50c4aa4533db160fc6a3239f69d89f6f88f78928ae7e0a0d6e1a094e405 size: 1166
Untagged: harbor.szy.com/cicd-test/apm-admin:20210922105702
Untagged: harbor.szy.com/cicd-test/apm-admin@sha256:d530b50c4aa4533db160fc6a3239f69d89f6f88f78928ae7e0a0d6e1a094e405
Deleted: sha256:610201c65a921db1ced1ce69e84e76f70cf09f9770d2f53e09f5986c1dad0c69
Deleted: sha256:c88d7a147d32d3e244075fc705817af34e1ac032b03ea1c7ddf3275517e0929a
Deleted: sha256:648e43fcb2241102d95677762731ac41ffb988f370e9dfb52b1c9f4829b9c865
Deleted: sha256:09d82f84ea29ac11a1f91fa1f7aca3733d157c011cc7dc23f8040c0a281486a8
Deleted: sha256:c2849e15152fb8ae7dff40bf445cca1807c7407e7d2a57928597eafabe431a45
<<<<<<< BUILD JAR IMAGER COMPLETED <<<<<<
<<<<<< END <<<<<<
Finished: SUCCESS `
}

// 传入projectId, env, formValue => 进行构建

export default {
  'post|/api/server/queryDeployRec': data
}
